package com.song.web.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author 宋伟宁
 * @Date 2024/1/5
 * @Version 1.0
 **/

@FeignClient(name = "sms-service9000")
public interface SmsFeignService {

    @GetMapping("/send")
    public boolean send(@RequestParam("phone") String phone);
}
